package first;

public class Admin {
	
	public static void Serve(Request request)
	{
		if(request.getClient().getCash()>=request.getAuto().prise)
		{
			Booking b=new Booking(request.getNumber(),request.getAuto());
			b.setBill(request.getAuto().prise);
			request.getClient().bookings.add(b);
		}
	}
	

}
